* {
  margin: 0;
  padding: 0;
}

/* 全局对话框优化 */
.el-dialog {
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}
.el-dialog__header {
  padding: 20px 24px !important;
  border-bottom: 1px solid #ebeef5;
  margin-right: 0 !important;
}
.el-dialog__title {
  font-size: 18px !important;
  font-weight: 600 !important;
}

/* 重点：将以下样式移出 *{}，直接写在全局 */
body > .el-image-viewer__wrapper {
  position: fixed !important;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8) !important;
  z-index: 9999 !important;
  clip: auto !important;
  overflow: visible !important;
}
body > .el-image-viewer__img {
  max-width: 90vw !important;
  max-height: 90vh !important;
  object-fit: contain !important;
}